package com.tjetc.controller;


import com.tjetc.entity.LogisticsTracking;
import com.tjetc.service.LogisticsTrackingService;
import com.tjetc.util.R;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (LogisticsTracking)表控制层
 *
 * @author makejava
 * @since 2025-09-19 10:34:25
 */
@RestController
@RequestMapping("logisticsTracking")
public class LogisticsTrackingController {
    /**
     * 服务对象
     */
    @Resource
    private LogisticsTrackingService logisticsTrackingService;


    @GetMapping("/page")
    public R queryByPage(@RequestParam String name, Integer pageNum, Integer pageSize) {

        return R.ok(this.logisticsTrackingService.queryByPage(name, pageNum, pageSize));
    }

}

